package com.zjc.mymq.nameserver.common;

import com.zjc.mymq.nameserver.enums.MasterSlaveReplicationTypeEnum;

/**
 * @author zjc
 * @date Created in 09:06 2024/7/15
 *
 */
public class MasterSlaveReplicationProperties {

    private String master;

    private String role;

    /**
     * @see MasterSlaveReplicationTypeEnum
     */
    private String type;

    private Integer port;

    public String getMaster() {
        return master;
    }

    public void setMaster(String master) {
        this.master = master;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
